﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entities
{
    class Repository<T> where T : Data.MongoDb.Entity.Entity
    {
        private Data.IRepository<T> repository;

        public Data.IRepository<T> GetRepository { get { return repository; } }

        public Repository()
        {
            repository = new Data.MongoDb.MongoRepository<T>();
        }
    }
}
